// 获取文书
import request from "@/utils/request";
// http://110.191.238.10:19638/WeatherForecast/GetDocData/222/123/2012-01-01

// 获取患者评分数据
export const getDocDataAPI = (id) =>
  request({
    method: "get",
    url: `WeatherForecast/GetDocData/222/${id}/2012-01-01`,
  });

// 保存信息
export const saveDocPatientInfoAPI = (id, data) =>
  request({
    method: "post",
    url: `/WeatherForecast/SaveDocData/222/${id}/2012-01-01/${data})`,
  });

// 获取患者基本信息
export const getPatientInfoAPI = (id) =>
  request({
    method: "get",
    url: `WeatherForecast/GetJIAOBANTBSJ?Patient_Id=${id}`,
  });
